projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ca18a
)
Remove C99-ism from gbser_posix.c
author
robertl
<robertl>
Mon, 3 Jul 2006 01:36:14 +0000
(
01:36
+0000)
committer
robertl
<robertl>
Mon, 3 Jul 2006 01:36:14 +0000
(
01:36
+0000)
gbser_posix.c
patch
|
blob
|
history
diff --git
a/gbser_posix.c
b/gbser_posix.c
index 0aec641280f972567d014128444bd6ba14b6fda8..2f4cd88366c1b6dd33d32355b177b126d2968319 100644
(file)
--- a/
gbser_posix.c
+++ b/
gbser_posix.c
@@
-137,8
+137,9
@@
gbser_read(void *handle, char *ibuf, int size)
char *c;
char tbuf[256];
char *tp = tbuf;
-ibuf[0] = 0;
gbser_posix_handle *h = (gbser_posix_handle *) handle;
+
+ ibuf[0] = 0;
assert(h->magic == MYMAGIC);
// n = read(h->fd, ibuf, size);